package com.tiansu.reborn.wanda.modules.executor.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tiansu.reborn.wanda.modules.executor.entity.PayRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface PayRecordDao extends BaseMapper<PayRecordEntity> {

    List<PayRecordEntity> getPayRecords(@Param("deviceid") Integer deviceid,@Param("brandid") Long brandid,@Param("rechargetime") Date rechargetime);

    PayRecordEntity getLastPayRecord(@Param("deviceid") Integer deviceid);
}
